<template>
  <div class="on">
    <h6>接受</h6>
    <h4>{{ data }}</h4>
  </div>
</template>
<script>
export default {
  data() {
    return {
      data: "",
    };
  },
  methods: {},
  mounted() {
    this.$bus.$on("value", (data) => {
      this.data = data;
      console.log(this.data);
    });
  },
  created() {},
};
</script>
<style scoped lang='less'>
.on {
  width: 100%;
  height: 100%;
  text-align: center;
}
</style>